package com.egame.manage.biz.domain;

import cn.egame.interfaces.fl.FileUsedType;

public class ImageInfo  implements Comparable<ImageInfo>{
	private long id;
	private String name = "";
	private String path="";
	private int width;
	private int height;
	private String type="";
	private long size;
	private String remark="TV游戏内容截图";
	private FileUsedType fileUsedType;
	
	public FileUsedType getFileUsedType() {
		return fileUsedType;
	}
	public void setFileUsedType(FileUsedType fileUsedType) {
		this.fileUsedType = fileUsedType;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public String getPath() {
		return path;
	}
	public void setPath(String path) {
		this.path = path;
	}
	public int getWidth() {
		return width;
	}
	public void setWidth(int width) {
		this.width = width;
	}
	public int getHeight() {
		return height;
	}
	public void setHeight(int height) {
		this.height = height;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public long getSize() {
		return size;
	}
	public void setSize(long size) {
		this.size = size;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	@Override
	public int compareTo(ImageInfo image) {
		if(image != null){
			return this.getName().compareTo(image.getName());
		}
		return 1;
	}
	
}
